package cn.jiadakeji.parent.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: heYanFeng
 * @Date: 2022/01/18/17:43
 * @Description:
 */
@Data
@ApiModel(value = "CourseNewsDTO")
public class CourseNewsDTO {
    @ApiModelProperty("消息id")
    private String id;

    @ApiModelProperty("班课id")
    private String termCourseId;

    @ApiModelProperty("消息状态(0->已发布 ；1->待发布)")
    private String releaseStatus;

    @ApiModelProperty("发布信息")
    private String information;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
